﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
using System.Data.SQLite;

namespace YandexWebmaster
{
    [Table("sites")]
    public class Site
    {
        [Column("id")]
        public int ID { get; set; }
        [Column("id_account")]
        public int ID_Account { get; set; }
        [Column("domain")]
        [JsonProperty("ascii_host_url")]
        public string Domain { get; set; }
        [Column("domain_unicode")]
        [JsonProperty("unicode_host_url")]
        public string DomainUnicode { get; set; }
        [Column("verified")]
        [JsonProperty("verified")] 
        public bool Verified { get; set; }
        [Column("host_id")]
        [JsonProperty("host_id")]
        public string HostID { get; set; }
        [Column("in_webmaster")]
        public bool InWebmaster { get; set; }
    }
}
